package com.sunwayworld.basemodule.rm.equipment.instrumentacqconfig.resource;

import com.sunwayworld.framework.log.annotation.Log;
import com.sunwayworld.framework.log.annotation.LogType;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.rm.equipment.instrumentacqconfig.bean.LimsInstrumentAcqConfigBean;
import com.sunwayworld.basemodule.rm.equipment.instrumentacqconfig.service.LimsInstrumentAcqConfigService;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/secure/basemodule/trm/equipt/instrument-acq-configs")
public interface LimsInstrumentAcqConfigResource extends GenericResource<LimsInstrumentAcqConfigService, LimsInstrumentAcqConfigBean, Long> {
    @Log(
            value = "测试连接",
            type = LogType.SELECT
    )
    @RequestMapping(
            value = {"/connect"},
            method = {RequestMethod.POST}
    )
    String connect(RestJsonWrapperBean wrapper);
}
